/*************************************************************************
	> File Name: udp_client.c
	> Author: Maureen 
	> Mail: 1437867946@qq.com 
	> Created Time: Wed 12 May 2021 05:24:25 PM CST
 ************************************************************************/

#include "head.h"

int socket_udp() {
    int sockfd;
    if ((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
        return -1;
    }
    return sockfd;
}

